<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
        <table width = "500" border = "1" height="100" cellspacing="3" cellpadding="5" align="center">  
                <caption>个人信息</caption>
               <tr align="center">
                   <th rowspan="2">姓名</th>
                   <th>性别</th>
                   <th>地址</th>
                </tr>  
                <tr>
                    <!-- <td>张三</td> -->
                    <td>男</td>
                    <td>深圳</td>
                </tr>  
                <tr>
                    <td colspan="3">小红</td>
                    <!-- <td>女</td>
                    <td>上海</td> -->
                </tr>  
            </table>
            <!-- colspan 跨行  从上往下合并-->
            <!-- rowspan 跨列  从上往下合并-->
</body>
</html>